package com.pzl.mylistview;

import android.view.View;
import android.view.ViewGroup;

/**
 * Created by zl.peng on 2016-03-07.
 */
public interface Adapter {
    /**
     * item数目
     *
     * @return
     */
    int getCount();

    /**
     * 获得item view
     *
     * @param position
     * @param reuseView
     * @return
     */
    View getView(int position, View reuseView, ViewGroup parent);
}
